GO
/****** Object:  Table [dbo].[Documents]    Script Date: 10/17/2007 13:11:45 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[Documents](
	[DocumentId] [int] IDENTITY(1,1) NOT NULL,
	[GUID] [uniqueidentifier] NOT NULL CONSTRAINT [DF_StudyGuide_GUID]  DEFAULT (newid()),
	[Display] [bit] NOT NULL,
	[Title] [varchar](255) NOT NULL,
	[Author1] [int] NOT NULL,
	[Author2] [int] NULL,
	[PubInfo] [varchar](8000) NULL,
	[metaDescription] [varchar](255) NULL,
	[metaKeywords] [varchar](350) NULL,
	[metaImage] [image] NULL,
	[FullText] [bit] NULL,
	[Source] [varchar](100) NULL,
	[GuideContent] [varchar](max) NULL,
	[Length] [int] NULL,
	[CategoryId] [int] NULL,
	[CreateDate] [datetime] NOT NULL CONSTRAINT [DF_StudyGuide_CreateDate]  DEFAULT (getdate()),
	[EditDate] [datetime] NOT NULL CONSTRAINT [DF_Documents_EditDate]  DEFAULT (getdate()),
 CONSTRAINT [PK_StudyGuide] PRIMARY KEY CLUSTERED 
(
	[DocumentId] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON, FILLFACTOR = 90) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
SET ANSI_PADDING OFF
GO
